package cn.signalpha.modules.shop.mapper;

import cn.signalpha.modules.shop.entity.SellerGoodsCategory;
import cn.signalpha.modules.shop.vo.SellerGoodsCategoryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 商品分类 Mapper 接口
 *
 * @author suguangjun
 */
public interface SellerGoodsCategoryMapper extends BaseMapper<SellerGoodsCategory> {

	/**
	 * 树
	 */
	List<SellerGoodsCategoryVO> tree(@Param("params") Map<String, Object> params);

	/**
	 * 懒加载列表
	 */
    List<SellerGoodsCategoryVO> lazyList(@Param("parentId") Long parentId, @Param("params") Map<String, Object> params);
}
